CI: Switch to new Windows runners
authorChristoph Reiter <reiter.christoph@gmail.com>
Wed, 29 Apr 2020 17:36:40 +0000 (19:36 +0200)
committerChristoph Reiter <reiter.christoph@gmail.com>
Wed, 29 Apr 2020 18:12:34 +0000 (20:12 +0200)
They use powershell instead of cmd.exe, use the tag win32-ps instead of win32,
and run Windows 2016 instead of 2012r2.

The old runners will be switched off in the comming weeks.

.gitlab-ci.yml
.gitlab-ci/test-msys2.sh

index a411a7dadbb5c62c4223465d17ebe98016979ecb..8a80b60435b35627ee66e561cd6d8becf152c83d 100644 (file)
@@ -99,12 +99,12 @@ release-build:
 .mingw-defaults: &mingw-defaults
   stage: build
   tags:
-    - win32
+    - win32-ps
   script:
     - C:\msys64\usr\bin\pacman --noconfirm -Syyuu
     - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
   cache:
-    key: "%CI_JOB_NAME%"
+    key: "${env:CI_JOB_NAME}"
     <<: *cache-paths
 
 msys2-mingw32:
index 4b9f175c3f399a12408f3a0a68e8581069415f4f..554091bc21ece8d740c853a92a6d354414fcff12 100644 (file)
@@ -34,7 +34,7 @@ pacman --noconfirm -S --needed \
     mingw-w64-$MSYS2_ARCH-shared-mime-info
 
 # https://gitlab.gnome.org/GNOME/gtk/issues/2243
-wget "https://gitlab.gnome.org/creiter/gitlab-ci-win32-runner/raw/master/pango/mingw-w64-$MSYS2_ARCH-pango-1.44.7-1-any.pkg.tar.xz"
+wget "https://gitlab.gnome.org/creiter/gitlab-ci-win32-runner-v2/raw/master/pango/mingw-w64-$MSYS2_ARCH-pango-1.44.7-1-any.pkg.tar.xz"
 pacman --noconfirm -U "mingw-w64-$MSYS2_ARCH-pango-1.44.7-1-any.pkg.tar.xz"
 
 mkdir -p _ccache